package com.skiving.cloud.auth.serverclient;

import com.skiving.cloud.auth.entity.SysLog;
import org.noear.nami.annotation.NamiBody;
import org.noear.nami.annotation.NamiClient;
import org.noear.nami.annotation.NamiMapping;

@NamiClient(name = "admin", group = "DEFAULT_GROUP", path = "/sysLog/", fallback = ClientNamiSysLogServiceFallback.class)
public interface ClientNamiSysLogService {
    /**
     * 添加。
     *
     * @param sysLog 日志对象
     * @return {@code true} 添加成功，{@code false} 添加失败
     */
    @NamiMapping("POST save")
    boolean save(@NamiBody SysLog sysLog);
}
